export type triggerRule = 'blur' | 'change';

export interface IElRule {
  type?: string;
  pattern?: RegExp;
  required?: boolean;
  message?: string;
  mix?: number;
  max?: number;
  trigger?: triggerRule;
}

export type IELRules = Array<IElRule>;
